<?php 


?>

<form action="<?= URL::curr()?>" method="post" class="col-sm-6 col-md-4 ajax-submit">
	<div class="form-group">
		<select class="form-control" name="parent_id">
			<option value="0"> -选择添加- </option>

            <?php foreach ($pro as $item):?>
                <option value="0" disabled="disabled"> <?= $item['name']?></option>
                    <?php foreach ($item['zhiwei_user'] as $zhiwei):?>
                    <option value="<?= $zhiwei['uid'].','.$item['id']?>"> ├─<?= $zhiwei['real_name']?></option>
                    <?php endforeach;?>

            <?php endforeach;?>
		</select>
	</div>



	<div class="form-group">
		<button type="submit" class="btn btn-info">提交</button>
	</div>
</form>
